package persistence.dao;

import java.util.HashSet;
import java.util.Set;

import core.CoreFacade;
import core.ModelObject;
import core.RootStorageUnit;

import persistence.dto.ProductGroupDTO;

public class ProductGroupsSerDAO extends ModelObject implements IProductGroupsDAO
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -47108608401546374L;
	
	
	private static int ID;
	
	private static ProductGroupsSerDAO instance;
	
	public static ProductGroupsSerDAO getInstance()
	{
		if(instance == null)
		{
			instance = new ProductGroupsSerDAO();
		}
		return instance;
	}
	
	private ProductGroupsSerDAO()
	{
		ID = 1;
	}
	
	@Override
	public Set<ProductGroupDTO> getAllChildrenProductGroups(int parentID)
	{
		return new HashSet<ProductGroupDTO>();
	}

	@Override
	public int add(ProductGroupDTO productGroupDTO)
	{
		return -1;
	}

	@Override
	public boolean edit(ProductGroupDTO productGroupDTO)
	{
		return true;
	}

	@Override
	public boolean remove(ProductGroupDTO productGroupDTO)
	{
		return true;
	}

}
